package com.jindianjichi.auth.appliccation.convert;

import com.jindianjichi.auth.appliccation.dto.AuthPermissionDTO;
import com.jindianjichi.auth.appliccation.dto.AuthRoleDTO;
import com.jindianjichi.auth.domain.BO.AuthPermissionBO;
import com.jindianjichi.auth.domain.BO.AuthRoleBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface AuthPermissionDTOConvert {
    AuthPermissionDTOConvert instance= Mappers.getMapper(AuthPermissionDTOConvert.class);
    AuthPermissionBO convertToBoAuthPermission(AuthPermissionDTO authPermissionDTO);
    AuthPermissionDTO convertToDTOAuthPermission(AuthPermissionBO authPermissionBO);

}
